<template>
  <div id="app">
    <a-config-provider :locale="zh_CN">
      <router-view />
    </a-config-provider>
  </div>
</template>

<script>
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
import 'moment/locale/zh-cn';
import moment from 'moment'
import request from 'api/request'

moment.locale('zh-cn');

export default{
  data(){
    return{
      show:true,
      zh_CN
    }
  },
  created() {
    const that = this
    console.log("app created")
    this.$store.dispatch('menu/getMenus')
  },
}
</script>

<style>
@import url('../public/css/common.css');
@import url('../public/font/iconfont.css');
</style>
